package com.neuedu.qian.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.qian.entity.Department;
import com.neuedu.qian.vo.ResponseData;

public interface IDepartmentService extends IService<Department> {

   /**
    * 条件查询,返回对象列表
    * @param department
    * @return
    */
    List<Department> selectList(Department department);

   /**
    * 添加
    *
    * @param  department
    * @return
    */
    ResponseData insert(Department department);

   /**
    * 根据条件修改
    *
    * @param department
    * @return
    */
    int update(Department department);
}